﻿#Region "Using Directives"
Imports System
Imports System.Collections.Generic
Imports System.Text
#End Region

Namespace C4F.DevKit.Bluetooth
    Namespace ServiceAndDeviceDiscovery

        ''' <summary>
        ''' Stores the value of the service Id.
        ''' </summary>
        <System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices. _
                                                     LayoutKind.Explicit)> _
        Public Structure ServiceIdUnion

            ''' <summary>
            ''' Value for type equals TypeUint16.
            ''' </summary>
            <System.Runtime.InteropServices.FieldOffset(0)> _
            Public Uuid16Value As UShort

            ''' <summary>
            ''' Value for type equals TypeUint32.
            ''' </summary>
            <System.Runtime.InteropServices.FieldOffset(0)> _
            Public Uuid32Value As UInteger

            ''' <summary>
            ''' Value for type equals TypeUuid.
            ''' </summary>
            <System.Runtime.InteropServices.FieldOffset(0)> _
            Public Uuid128Value As Guid

        End Structure
    End Namespace
End Namespace